package com.jiang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by dllo on 18/4/12.
 * 负责页面跳转
 */
@Controller
public class MainController {

    @RequestMapping(value = "/login")
    public String login() {
        return "login";
    }

    @RequestMapping(value = "/")
    public String songpage() {
        return "getInternetSong";
    }

    @RequestMapping(value = "/registerpage")
    public String registerpage() {
        return "register";
    }

    @RequestMapping(value = "/likePage")
    public String userLikePage() {
        return "userlike";
    }

}
